package com.oak.designmode._13_builderPattern.eatChicken;

/**
 * 男性角色
 *
 * @Description
 * @Author guoxy
 * @Date 2020/3/18
 * @Version 1.0
 */
public class ManRole extends RoleBuilder {

    private CharacterRole characterRole;

    public ManRole(char sex) {
        characterRole  = new CharacterRole(sex);
    }

    @Override
    public void setFeature() {
        characterRole.setFeature("国字脸");
    }

    @Override
    public void setHairStyle() {
        characterRole.setHairStyle("锡纸烫");
    }

    @Override
    public void setSkinColor() {
        characterRole.setSkinColor("黄色");
    }

    @Override
    public void setBody() {
        characterRole.setBody("健硕身材");
    }

    @Override
    public CharacterRole getCharacterRole() {
        return characterRole;
    }
}
